package TOOLS;

import java.io.IOException;

import javax.sound.sampled.LineUnavailableException;
import javax.sound.sampled.UnsupportedAudioFileException;

public class test_wavplayer {

	public static void main(String[] args) {
		playM_err();
	}
	
	public static void playM_err() {
		Thread IT=new Thread(new Runnable() {
			@Override
			public void run() {
				wavTool wT;
				try {
					wT = new wavTool();
					if(wT!=null) {
						try {
							wT.setPath("D:\\Media\\Fail.wav");
							wT.play();
						}catch(Exception e) {
							;
						}
					}
				} catch (UnsupportedAudioFileException e1) {
					// TODO Auto-generated catch block
					e1.printStackTrace();
				} catch (IOException e1) {
					// TODO Auto-generated catch block
					e1.printStackTrace();
				} catch (LineUnavailableException e1) {
					// TODO Auto-generated catch block
					e1.printStackTrace();
				}
			}
		});
		IT.start();
	}

}
